const { request, response } = require('express');
const express=require('express');
//对象实例化
const app=express();

const routerhome=require('./12-1测试路由模块');
const routeruser=require('./12-2测试路由模块2');
app.use(routerhome);
app.use(routeruser);
//创建路由

//监听端口
app.listen(8000,()=>{
    console.log('服务启动成功');
})